class CreateVotes < ActiveRecord::Migration
  def self.up
    create_table :votes do |t|
      t.integer   :person_id, :limit => 11, :null => false
      t.integer   :heaven_n, :purgatory_n, :hell_n, :limit => 11, :default => 0
      t.integer   :heaven_p, :purgatory_p, :hell_p, :limit => 11, :default => 0
      
      t.timestamps
    end
  end

  def self.down
    drop_table :votes
  end
end
